package org.example.boot.ioc.demo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "student1")
@Data
@Component
public class Student {

    private Integer id;
    private String name;
    private Character gender;
    private String password1;
    private String[] loves;
}
